//
//  SDKTool.h
//  sr01sdkProject
//
//  Created by Linktop on 2022/7/5.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SDKTool : NSObject
/// 电压转电量
/// @param battery
+(int)toBatteryLevel:(NSInteger)battery IsCharge:(int)isCharge IsWireness:(BOOL)isWireness;

// 解析蓝牙地址 外部使用
+(NSString *)macAddressFromBleAvdData:(NSDictionary *)advertisementData;

+(NSData *)oemAesDecreat:(NSData *)snData Company:(NSString *)company R1:(NSData *)r1;


@end

NS_ASSUME_NONNULL_END
